Key Event Params
fun KeyEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), domKeyCode: DomKeyCode = DOM_KEY_CODE_UNSPECIFIED, character: String = ""): KeyEventParams
fun KeyEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), domKeyCode: DomKeyCode = DOM_KEY_CODE_UNSPECIFIED, character: String = ""): KeyEventParams
Creates a new instance of KeyEventParams with the given parameters.
Since
8.0.0
Parameters
ui Event Modifier Params
The DOM event parameters with the key modifiers.
dom Key Code
The code of the physical key used in the event.
character
A string that contains either a UTF-8 character associated with the domKeyCode or one of the predefined values. The predefined values are listed in the W3C specification.